import React, { Component } from "react"
import { NavLink } from "react-router-dom"

export default class MyNavLink extends Component {
  render() {
    return (
      <>
        <NavLink {...this.props} />
        {/* <NavLink replace {...this.props} /> */}
        {/* replace 不留下浏览记录 无法回退 */}
      </>
    )
  }
}
